import 'package:get/get.dart';
import 'package:note/manager/localAuthUtil.dart';
import 'state.dart';

class UnlockLogic extends GetxController {
  final UnlockState state = UnlockState();

  void onUnlock() async {
    bool result = false;
    result = await LocalAuthUtil.instance.onUnlock();
    if (result) {
      Get.back(result: true);
    }
  }
}
